#ifndef LOGIN_H
#define LOGIN_H

#include <QObject>
#include<QDebug>
class Login : public QObject
{
    Q_OBJECT
public:
    static Login* getInstance()
    {
        if(login==nullptr)
            login =new Login();
        return login;
    }
    int solve(QString uid_me,QString passwd);
private:
    static Login* login;
    Login() = default;
signals:
    void sig_task_login_start(QString uid,QString passwd);

};
#endif // LOGIN_H
